package com.erp.mapping;

import java.util.HashMap;
import java.util.Map;

public class ProcDefKeyUrlMapping {
	
	public static final String TIME_OFF = "timeoff";
	
	private static Map<String, String> keyUrlMap = new HashMap<String, String>();
	
	static{
		keyUrlMap.put(TIME_OFF, "timeoff_addPage");
	}
	
	public static String[] getAllProcDefKey(){
		String[] array = {TIME_OFF};
		return array;
	}
	
	public static String getFormUrl(String procDefKey){
		return keyUrlMap.get(procDefKey.toLowerCase());
	}
}
